<?php
	//echo "<script>" + getEventRange('2009-06-01','2009-07-01',writeToJSON); + "</script>";
	//echo $_GET["json"];
	
	$year = date('Y');
	$month = date('m');

	echo json_encode(array(
	
		array(
			'id' => 1,
			'title' => "Amazing Ride",
			'start' => "$year-$month-10 11:30:00",
			'url' => "http://ctislab.fhda.edu/~hujuli1/bicycle_project/calendar/show_event.php?eventid=1"
		),
		
		array(
			'id' => 2,
			'title' => "Superidy Duper Ride",
			'start' => "$year-$month-20 12:00:00",
			'url' => "http://ctislab.fhda.edu/~hujuli1/bicycle_project/calendar/show_event.php?eventid=2"
		),

		array(
			'id' => 3,
			'title' => "Expert Ride",
			'start' => "$year-$month-27 9:30:00",
			'url' => "http://ctislab.fhda.edu/~hujuli1/bicycle_project/calendar/show_event.php?eventid=3"
		),	

		array(
			'id' => 4,
			'title' => "Novice Ride",
			'start' => "$year-$month-07 8:30:00",
			'url' => "http://ctislab.fhda.edu/~hujuli1/bicycle_project/calendar/show_event.php?eventid=4"
		),		
	));

?>
